<?php /* Smarty version Smarty-3.1.18, created on 2014-04-27 16:12:23
         compiled from "styles\desktop\templates\edit.htpl" */ ?>
<?php /*%%SmartyHeaderCode:31730535c0d8f1b6a81-32601445%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '49bbd3bb7dfb4c0b6049312d0dd619d264b5e5e7' => 
    array (
      0 => 'styles\\desktop\\templates\\edit.htpl',
      1 => 1398607820,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '31730535c0d8f1b6a81-32601445',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_535c0d8f21e0b5_23312279',
  'variables' => 
  array (
    'fehler' => 0,
    'ks_day' => 0,
    'meditage' => 0,
    'ks_art' => 0,
    'ks_arten' => 0,
    'ks_medis' => 0,
    'medikamente' => 0,
    'ks_grad' => 0,
    'grad' => 0,
    'ks_info' => 0,
    'ks_lastchange' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_535c0d8f21e0b5_23312279')) {function content_535c0d8f21e0b5_23312279($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\modifier.date_format.php';
if (!is_callable('smarty_function_html_checkboxes')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\function.html_checkboxes.php';
if (!is_callable('smarty_function_html_radios')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\function.html_radios.php';
?><?php if ($_smarty_tpl->tpl_vars['fehler']->value) {?>
<h2>Fehler</h2>
<?php echo $_smarty_tpl->tpl_vars['fehler']->value;?>
 <?php } else { ?>
<h2>Schmerztag</h2>
<p>
<form action="?seite=neu" method="post">
	<input type="hidden" name="forumlar" value="datum">
	<p>
		<label id="datum">Datum</label><br> <input id="datum"
			name="datum" type="text" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_day']->value,'%d.%m.%Y');?>
">
	</p>
	<input type="submit">
</form>
</p>
<p>
	Tage mit Kopfschmerzen in diesem Monat: <?php echo $_smarty_tpl->tpl_vars['meditage']->value['kstage'];?>
<br>
	Tage mit Schmerzmitteln in diesem Monat: <?php echo $_smarty_tpl->tpl_vars['meditage']->value['meditage'];?>

</p>
<p>
<form action="?seite=neu" method="post">
	<input type="hidden" name="forumlar" value="speichern"> <input
		name="datum" type="hidden" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_day']->value,'%d.%m.%Y');?>
">
	<p>
		<label id="art">Kopfschmerzart</label><br> <?php echo smarty_function_html_checkboxes(array('name'=>'art','selected'=>$_smarty_tpl->tpl_vars['ks_art']->value,'options'=>$_smarty_tpl->tpl_vars['ks_arten']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="medikament">Medikament</label><br> <?php echo smarty_function_html_checkboxes(array('name'=>'medikament','selected'=>$_smarty_tpl->tpl_vars['ks_medis']->value,'options'=>$_smarty_tpl->tpl_vars['medikamente']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="graduierung">Graduierung</label><br> <?php echo smarty_function_html_radios(array('name'=>'graduierung','selected'=>$_smarty_tpl->tpl_vars['ks_grad']->value,'options'=>$_smarty_tpl->tpl_vars['grad']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="graduierung">Zusätzliche Informationen</label><br>
		<textarea name="info"><?php echo $_smarty_tpl->tpl_vars['ks_info']->value;?>
</textarea>
	</p>
	<p>Letzte Änderung: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_lastchange']->value,'%d.%m.%Y');?>
</p>
	<input type="submit">
</form>
</p>
<?php }?>
<?php }} ?>
